package com.henme.crm.service.product;

import com.henme.crm.entity.admin.User;
import com.henme.crm.entity.product.ProductCategory;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: ruby
 * Date: 13-5-7
 * Time: 下午3:12
 * To change this template use File | Settings | File Templates.
 */
public interface ProductCategoryService {
    void insertProductCategory(ProductCategory productCategory);
    void updateProductCategory(ProductCategory productCategory);
    void deleteProductCategory(long id);
    ProductCategory selectProductCategory(long id);
    public  void updateIndexs(long id, long indexs);
    public  void updateIndexs(String[] id, String[] indexs);
    public List<ProductCategory> listSub(Long pid) ;
    //取所有的节点
    public List<ProductCategory> getAllList();
}
